<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="../../css/weui.min.css">
    <link rel="stylesheet" href="../../css/weuix.css"/>
    <link rel="stylesheet" href="../../layui/css/layui.css"/>
    <link rel="stylesheet" href="../../css/carrier.css"/>

    <script src="../../js/jquery.min.js"></script>
    <script src="../../js/vue.js"></script>
    <script src="../../js/axios.min.js"></script>
    <script src="../../layui/layui.all.js"></script>


    <script src="../../js/f2.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.min.js"></script>
    <script src="https://unpkg.com/vue-chartjs/dist/vue-chartjs.min.js"></script>
    <script src="../../js/app.js"></script>
    <script>
        var uid = getUrlParam('uid');
    </script>
    <style>
        .weui-flex_box {
            margin-top: 20px;
        }

        h3 {
            color: #ff851b;
            font-size: 1.5em;
        }

        .placeholder {
            margin: 5px;
            padding: 0 10px;
            background-color: #ebebeb;
            height: 4.3em;
            line-height: 4.3em;
            text-align: center;
            color: #ff851b;
            font-size: 1.5em;
        }

        .placeholder2 {
            margin: 5px;
            padding: 10px 10px;
            background-color: #ebebeb;
            text-align: center;
            font-size: 14px;
        }

        .placeholder3 {
            margin: 5px;
            padding: 10px 10px;
            background-color: #ebebeb;
            text-align: center;
            font-size: 14px;
        }

        .weui-form-preview {
            font-size: 15px;
        }

        .col_header {
            background-color: #009688;
            line-height: 40px;
        }

        .box_space {
            margin-right: 6px;
        }

        @media screen and (min-width: 1200px) {
            .layui-container {
                width: 100%;
            }
        }

        @media screen and (min-width: 992px) {
            .layui-container {
                width: 100%;
            }
        }

        @media screen and (min-width: 768px) {
            .layui-container {
                width: 100%;
            }
        }

        .child_row_style {
            line-height: 40px;
        }

        .box_space {
            margin-top: 9px;
        }

        .box_space > div {
            line-height: 40px;
            border-right: 1px solid #000;
            border-bottom: 1px solid #000;

        }

        .box_space > div > div:nth-child(1) {
            line-height: 40px;
            border-left: 1px solid #000;
            border-right: 1px solid #000;
        }

        .no_border_right {
            border-right: 0px !important;
        }

        .no_border_left {
            border-left: 0px !important;
        }

        .many_cols_style > div {
            border-right: 1px solid #000;
            border-bottom: 1px solid #000;
            border-left: 1px solid #000;
        }

        .many_cols_child > div {
            display: inline-block;
        }

        .many_cols_child > div:nth-child(1) {
            width: 60%;
            border-right: 1px solid #000 !important;

        }

        .many_cols_child > div:nth-child(2) {
            width: 35%;
        }

        .many_cols_style > div:last-child {
            border-bottom: 0px !important;
        }

        .some_border_bottom > div:nth-last-child(1) .many_cols_child {
            border-bottom: 0px !important;
        }
    </style>
</head>

<body>
<div ontouchstart id="app">
    <div class="weui-flex">
        <div class="weui-flex__item">
            <div class="placeholder">{{user.verify_name}}-反欺诈报告</div>
        </div>
    </div>

    <div class="weui-tab" id="t3" style="height:44px;">
        <div class="weui-navbar">
            <div class="weui-navbar__item"
                 onclick="location.href='report.html?uid=' + uid + '&oid=' + oid + '&mobile=' + mobile + '&moxie=' + moxie + '&order_no=' + order_no + '&id_no=' + id_no + '&merchant=' + merchant">
                综合报告
            </div>
            <div class="weui-navbar__item"
                 onclick="location.href='report_buer.html?uid=' + uid + '&oid=' + oid + '&mobile=' + mobile + '&moxie=' + moxie + '&order_no=' + order_no + '&id_no=' + id_no + '&merchant=' + merchant">
                多头报告
            </div>
            <div class="weui-navbar__item  tab-blue"
                 onclick="location.href='report_faude.html?uid=' + uid + '&oid=' + oid + '&mobile=' + mobile + '&moxie=' + moxie + '&order_no=' + order_no + '&id_no=' + id_no + '&merchant=' + merchant">
                反欺诈报告
            </div>
            <div class="weui-navbar__item"
                 onclick="location.href='report_carrier.html?uid=' + uid + '&oid=' + oid + '&mobile=' + mobile + '&moxie=' + moxie + '&order_no=' + order_no + '&id_no=' + id_no + '&merchant=' + merchant">
                运营商报告
            </div>
            <div class="weui-navbar__item"
                 onclick="location.href='report_contacts.html?uid=' + uid + '&oid=' + oid + '&mobile=' + mobile + '&moxie=' + moxie + '&order_no=' + order_no + '&id_no=' + id_no + '&merchant=' + merchant">
                手机通讯录
            </div>
            <div class="weui-navbar__item"
                 onclick="location.href='report_messages.html?uid=' + uid + '&oid=' + oid + '&mobile=' + mobile + '&moxie=' + moxie + '&order_no=' + order_no + '&id_no=' + id_no + '&merchant=' + merchant">
                手机短信
            </div>
            <div class="weui-navbar__item"
                 onclick="location.href='report_calllog.html?uid=' + uid + '&oid=' + oid + '&mobile=' + mobile + '&moxie=' + moxie + '&order_no=' + order_no + '&id_no=' + id_no + '&merchant=' + merchant">
                通话记录
            </div>
        </div>
    </div>
    <div class="main" style="margin-top: 6px;">
        <div class="layui-container">
            <div style="text-align: center;margin-top: 10px;">
                <button type="button" class="layui-btn layui-bg-cyan" v-on:click="faurdRreport">ZM欺诈报告</button>
            </div>
            <div><br></div>
            <div v-if="fruad">
                <div class="layui-container">
                    <div class="layui-row main_header">
                        <div class="layui-col-md12">被执行详情</div>
                    </div>
                    <div class="layui-row first_info" v-if="fruadreport.data.riskResult">
                        <block v-for="item in fruadreport.data.riskResult">
                            <div class="layui-col-md6">名单类型：</div>
                            <div class="layui-col-md6">{{item.dataType}}&nbsp;</div>
                            <div class="layui-col-md6">备注：</div>
                            <div class="layui-col-md6">{{item.remarks}}&nbsp;</div>
                            <div class="layui-col-md6">风险明细：</div>
                            <div class="layui-col-md6">{{item.riskDetail}}&nbsp;</div>
                            <div class="layui-col-md6">风险命中项：</div>
                            <div class="layui-col-md6">{{item.riskItemType}}&nbsp;</div>
                            <div class="layui-col-md6">风险命中内容：</div>
                            <div class="layui-col-md6">{{item.riskItemValue}}&nbsp;</div>
                            <div class="layui-col-md6">风险最近时间 格式:yyyy：</div>
                            <div class="layui-col-md6">{{item.riskTime}}&nbsp;</div>
                        </block>
                    </div>
                </div>
                <div><br></div>
                <div class="layui-container">
                    <div class="layui-row main_header">
                        <div class="layui-col-md12">被执行详情结果集</div>
                    </div>
                    <div class="layui-row first_info"
                         v-if="fruadreport.data.riskResult.indexOf('remarksDetails') != -1 && fruadreport.data.riskResult.remarksDetails">
                        <div class="layui-col-md6">案件编号：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.caseCode}}</div>
                        <div class="layui-col-md6">案件状态：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.caseState}}</div>
                        <div class="layui-col-md6">立案法院：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.courtName}}</div>
                        <div class="layui-col-md6">身份证号：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.entityId}}</div>
                        <div class="layui-col-md6">姓名：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.entityName}}</div>
                        <div class="layui-col-md6">标的金额：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.execMoney}}</div>
                        <div class="layui-col-md6">法院公示情况：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.isRemoved}}</div>
                        <div class="layui-col-md6">立案时间：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.remarksDetails.regDate}}</div>
                    </div>
                </div>
                <div><br></div>
                <div class="layui-container">
                    <div class="layui-row main_header">
                        <div class="layui-col-md12">失信详情结果集</div>
                    </div>
                    <div class="layui-row first_info"
                         v-if="fruadreport.data.riskResult.indexOf('dishonestDetails') != -1 && fruadreport.data.riskResult.dishonestDetails">
                        <div class="layui-col-md6">公民姓名：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.dishonestDetails}}
                        </div>
                        <div class="layui-col-md6">身份证号：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.entityId}}</div>
                        <div class="layui-col-md6">立案法院：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.courtName}}</div>
                        <div class="layui-col-md6">案件编号：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.caseCode}}</div>
                        <div class="layui-col-md6">年龄：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.Age}}</div>
                        <div class="layui-col-md6">省份：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.areaName}}</div>
                        <div class="layui-col-md6">立案日期 yyyy/MM/dd：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.regDate}}</div>
                        <div class="layui-col-md6">失信类型：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.disruptTypeName}}
                        </div>
                        <div class="layui-col-md6">生效法律文书确实的义务：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.Duty}}</div>
                        <div class="layui-col-md6">执行依据文号：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.gistId}}</div>
                        <div class="layui-col-md6">作出执行依据单位：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.gistUnit}}</div>
                        <div class="layui-col-md6">被执行人的履行情况：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.performance}}</div>
                        <div class="layui-col-md6">未履行：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.unPerformPart}}</div>
                        <div class="layui-col-md6">履行：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.performedPart}}</div>
                        <div class="layui-col-md6">法院公示情况：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.isRemoved}}</div>
                        <div class="layui-col-md6">发布日期 yyyy/MM/dd：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.publishDate}}</div>
                        <div class="layui-col-md6">法定代表人或者负责人姓 名：</div>
                        <div class="layui-col-md6">{{fruadreport.data.riskResult.dishonestDetails.bussinessEntity}}
                        </div>
                    </div>
                </div>
                <div><br></div>
                <div class="layui-container">
                    <div class="layui-row main_header">
                        <div class="layui-col-md12">社会关系网</div>
                    </div>
                    <div class="layui-row first_info" v-if="fruadreport.data.socialNetwork">
                        <div class="layui-col-md6">主叫联系人黑名单：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.activeCallBlackCnt}}&nbsp;</div>
                        <div class="layui-col-md6">主叫联系人数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.activeCallCnt}}&nbsp;</div>
                        <div class="layui-col-md6">主叫联系人逾期数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.activeCallOverdueCnt}}&nbsp;</div>
                        <div class="layui-col-md6">年龄：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.Age}}&nbsp;</div>
                        <div class="layui-col-md6">与法院通话次数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.courtCallNum}}&nbsp;</div>
                        <div class="layui-col-md6">与虚拟号码通话人数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.fictionCallCnt}}&nbsp;</div>
                        <div class="layui-col-md6">与虚拟号码通话次数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.fictionCallNum}}&nbsp;</div>
                        <div class="layui-col-md6">与虚拟号码通话秒数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.fictionCallSeconds}}&nbsp;</div>
                        <div class="layui-col-md6">一阶联系人黑名单个数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.firstOrderBlackCnt}}&nbsp;</div>
                        <div class="layui-col-md6">一阶联系人黑名单占比：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.firstOrderBlackRate}}&nbsp;</div>
                        <div class="layui-col-md6">一阶联系人逾期 M3+个数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.firstOrderM3Cnt}}&nbsp;</div>
                        <div class="layui-col-md6">一阶联系人逾期个数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.firstOrderOverdueCnt}}&nbsp;</div>
                        <div class="layui-col-md6">一阶联系人逾期占比：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.firstOrderOverdueRate}}&nbsp;</div>
                        <div class="layui-col-md6">性别：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.gender}}&nbsp;</div>
                        <div class="layui-col-md6">身份证号归属地：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.idNoLocation}}&nbsp;</div>
                        <div class="layui-col-md6">与律师通话总次数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.lawyerCallNum}}&nbsp;</div>
                        <div class="layui-col-md6">与银行或同行通话总次数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.loanCallNum}}&nbsp;</div>
                        <div class="layui-col-md6">与银行或同行通话总秒数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.loanCallSeconds}}&nbsp;</div>
                        <div class="layui-col-md6">与银行或同行通话总人数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.loanCallCnt}}&nbsp;</div>
                        <div class="layui-col-md6">与澳门通话人数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.macaoCallCnt}}&nbsp;</div>
                        <div class="layui-col-md6">与澳门通话次数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.macaoCallNum}}&nbsp;</div>
                        <div class="layui-col-md6">与澳门通话秒数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.macaoCallSeconds}}&nbsp;</div>
                        <div class="layui-col-md6">手机号归属地：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.mobileLocation}}&nbsp;</div>
                        <div class="layui-col-md6">手机号运营商：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.mobileOperator}}&nbsp;</div>
                        <div class="layui-col-md6">夜间通话人数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.nightCallCnt}}&nbsp;</div>
                        <div class="layui-col-md6">夜间通话次数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.nightCallNum}}&nbsp;</div>
                        <div class="layui-col-md6">夜间通话秒数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.nightCallSeconds}}&nbsp;</div>
                        <div class="layui-col-md6">异地通话人数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.remoteCallCnt}}&nbsp;</div>
                        <div class="layui-col-md6">异地通话次数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.remoteCallNum}}&nbsp;</div>
                        <div class="layui-col-md6">异地通话秒数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.remoteCallSeconds}}&nbsp;</div>
                        <div class="layui-col-md6">二阶联系人黑名单个数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.secondOrderBlackCnt}}&nbsp;</div>
                        <div class="layui-col-md6">二阶联系人逾期 M3+个数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.secondOrderM3Cnt}}&nbsp;</div>
                        <div class="layui-col-md6">二阶联系人逾期个数：</div>
                        <div class="layui-col-md6">{{fruadreport.data.socialNetwork.secondOrderOverdueCnt}}&nbsp;</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    var uid = getUrlParam('uid');
    var oid = getUrlParam('oid');
    var mobile = getUrlParam('mobile');
    var id_no = getUrlParam('id_no');
    var order_no = getUrlParam('order_no');
    var moxie = getUrlParam('moxie');
    var merchant = getUrlParam('merchant');
    var app = new Vue({
        el: '#app',
        data: {
            user: '',
            radarreport: '',
            otherData: '',
            report: '',
            generalReport: '',
            userbool: false,
            radarbool: false,
            carrierbool: false,
            generalbool: false,
            fruad: false,
            fruadreport: '',
        },
        mounted: function () {
            this.indexReport();
        },
        methods: {
            faurdRreport: function () {
                var vm = this;
                axios.post('/api/carrier/fraud/report', {
                    mobile: mobile,
                    merchant: merchant
                }).then(function (response) {
                    var obj = response.data;
                    if (obj.code == 0) {
                        vm.fruadreport = obj.data;
                        console.log(vm.fruadreport.data.socialNetwork)
                        vm.fruad = true;
                    } else {
                        alert(obj.text);
                    }
                }).catch(function (response) {
                    console.log(response);
                });
            },
            indexReport: function () {
                var vm = this;
                axios.post('/api/user/report', {
                    uid: uid,
                    oid: oid
                }).then(function (response) {
                    var obj = response.data;
                    if (obj.code == 0) {
                        vm.user = obj.data.user;
                        this.userbool = true;
                    } else {

                    }
                }).catch(function (response) {
                    console.log(response);
                });
            },
        }
    });
</script>

</body>
</html>
